<!DOCTYPE html>
<html lang="zh-CN">
    
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="icon" href="../../favicon.ico">
        <title>
            学并思留言板
        </title>
        <link href="./tpl/css/bootstrap.min.css" rel="stylesheet">
        <link href="./tpl/css/main.css" rel="stylesheet">
        <link href="./tpl/css/bootstrap-theme.min.css" rel="stylesheet">
        <link href="theme.css" rel="stylesheet">
    </head>
    
    <body role="document">
        <nav class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <span class="sr-only">
                            留言板1.0
                        </span>
                        <span class="icon-bar">
                        </span>
                        <span class="icon-bar">
                        </span>
                        <span class="icon-bar">
                        </span>
                    </button>
                    <a class="navbar-brand" href="#">
                        留言板
                    </a>
                </div>
                <div id="navbar" class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li>
                            <a href="#about">
                                注册
                            </a>
                        </li>
                    </ul>
                </div>
                <!--/.nav-collapse -->
            </div>
        </nav>
        <div class="jumbotron">
            <div class="container">
                <div class="col-sm-12">
                    <div class="list-group" style="padding-top:100px;">

                    <?php if(isset($error)){ ?>

                    <div class="alert alert-danger" role="alert"><?php echo $error ?></div>

                    <?php } ?>
                    
                        <form class="form-horizontal" action="./login.php" method="post">
                              <div class="form-group">
                                <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
                                <div class="col-sm-3">
                                  <input type="text" class="form-control" id="inputEmail3" placeholder="Email" name="username">
                                </div>
                                <div class="col-sm-1" id='checkname'>
                                  

                                </div>
                              </div>
                              <div class="form-group">
                                <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
                                <div class="col-sm-3">
                                  <input type="password" class="form-control" id="inputPassword3" placeholder="Password" name="password">
                                </div>
                              </div>
                              <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                  <div class="checkbox">
                                    <label>
                                      <input type="checkbox" name='remeber'> 记住我
                                    </label>
                                  </div>
                                </div>
                              </div>
                              <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                  <button type="submit" class="btn btn-default">登录</button>
                                </div>
                              </div>
                            </form>
                    </div>
                </div>
            </div>
        </div>
        <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js">
        </script>
        <script src="./tpl/js/bootstrap.min.js">
        </script>
        <script src="./tpl/js/main.js">
        </script>
    </body>

</html>